import request from "@/utils/request";

// 灾情类型占比
export function getProportion(query) {
  return request({
    url: "/emergencyReport/getProportion",
    method: "get",
    params: query,
  });
}
// 获取灾情急报不同类型下的数据
export function queryAll(query) {
  return request({
    url: "/emergencyReport/queryAll",
    method: "get",
    params: query,
  });
}
